package com.hxexp.weixin.mvc.faq.model;

import java.io.Serializable;

/**
 * FAQ条目
 *
 * @author li.jiang
 *
 */
public final class FAQItem implements Serializable {

    private static final long serialVersionUID = -285473761650294079L;
    /**
     * 问题
     */
    private String question;
    /**
     * 回答
     */
    private String answer;

    /**
     * @return the question
     */
    public String getQuestion() {
        return question;
    }

    /**
     * @param question
     *            the question to set
     */
    public void setQuestion(String question) {
        this.question = question;
    }

    /**
     * @return the answer
     */
    public String getAnswer() {
        return answer;
    }

    /**
     * @param answer
     *            the answer to set
     */
    public void setAnswer(String answer) {
        this.answer = answer;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format("FAQItem [question=%s, answer=%s]", question, answer);
    }

}
